.detail-top-bg {
    width: 750rpx;
    height: 548rpx;
    position: absolute;
    left: 0;
    top: 0;
}

.detail-wrapper {
    position: relative;
    width: 750rpx;
    margin-top: 240rpx;
    border-top-left-radius: 60rpx;
    border-top-right-radius: 60rpx;
    background-color: #eeeeee;
    padding-top: 20rpx;
    padding-bottom: 156rpx;

    .detail-top {
        position: relative;
        width: 705rpx;
        height: 230rpx;
        margin: 0 auto;
        margin-bottom: 20rpx;

        .detail-top-bg {
            position: absolute;
            width: 705rpx;
            height: 230rpx;
        }

        .ticket {
            position: relative;

            .pic {
                width: 207rpx;
                height: 291rpx;
                float: left;
                border-radius: 30rpx;
                overflow: hidden;
                margin-left: 33rpx;
                margin-top: 25rpx;
                box-shadow: 5rpx 10rpx 10rpx 0 rgba(0, 0, 0, 0.2);
                margin-top: -100rpx;
            }

            .desc {
                margin-left: 10rpx;
                width: calc(100% - 10rpx - 207rpx - 33rpx);
                float: left;

                .want {
                    padding-top: 20rpx;
                    width: 155rpx;
                    text-align: center;
                    float: right;

                    image {
                        transition: 0.3s ease;
                        width: 42rpx;
                        height: 38rpx;
                    }

                    .like {
                        filter: grayscale(0%);
                    }

                    .unlike {
                        filter: grayscale(100%);
                    }

                    .t1 {
                        width: 100%;
                        font-size: 19.4rpx;
                        color: #000000;
                    }
                }

                .title {
                    float: left;
                    width: 300rpx;
                    color: #000;
                    font-size: 30rpx;
                    margin-bottom: 25rpx;
                    margin-top: 20rpx;
                }

                .company {
                    .sub-company {
                        color: #888;
                        font-size: 25rpx;
                        margin-right: 10rpx;
                    }

                    .company-text {
                        color: #888;
                        font-size: 25rpx;
                    }
                }
            }
        }
    }

    .detail-center {
        position: relative;
        width: 705rpx;
        margin: 0 auto;
        margin-bottom: 20rpx;

        .detail-center-bg {
            width: 705rpx;
            position: absolute;
        }

        .info {
            position: relative;
            padding-top: 20rpx;
            padding-bottom: 30rpx;
            width: 657rpx;
            margin: 0 auto;

            .divider {
                width: 657rpx;
                height: 1rpx;
                background-color: #c6c6c6;
                margin: 0 auto;
            }

            .service {
                width: 100%;
                margin-top: 30rpx;
                margin-bottom: 10rpx;
                display: flex;
                align-items: center;
                position: relative;

                .left {
                    color: #000;
                    font-size: 36rpx;
                    margin-right: 27rpx;
                }

                .right {
                    float: left;

                    .t1 {
                        float: left;
                        display: flex;
                        align-items: center;
                        flex-wrap: nowrap;
                        margin-right: 40rpx;

                        image {
                            width: 22rpx;
                            height: 22rpx;
                            margin-right: 5rpx;
                        }

                        text {
                            font-size: 20rpx;
                            color: #32363e;
                        }
                    }
                }

                .more {
                    position: absolute;
                    right: 0;
                    display: flex;
                    align-items: center;
                    float: right;
                    margin-right: 10rpx;

                    image {
                        width: 15rpx;
                        height: 28rpx;
                    }
                }
            }


            .time {
                margin-top: 18rpx;
                margin-bottom: 15rpx;
                display: flex;
                align-items: center;

                .left {
                    color: #000;
                    font-size: 36rpx;
                    margin-right: 27rpx;
                }

                .right {
                    float: left;

                    .t1 {
                        font-size: 26rpx;
                        color: #000;
                        margin-bottom: 12rpx;
                    }

                    .t2 {
                        font-size: 24rpx;
                        color: #888;
                    }
                }
            }

            .area {
                margin-top: 18rpx;
                margin-bottom: 15rpx;
                display: flex;
                justify-content: space-between;

                .left-box {
                    display: inline-flex;
                    align-items: center;

                    .left {
                        color: #000;
                        font-size: 36rpx;
                        margin-right: 27rpx;
                    }

                    .left2 {
                        .a1 {
                            font-size: 26rpx;
                            color: #000;
                            margin-bottom: 12rpx;
                        }

                        .a2 {
                            font-size: 20rpx;
                            color: #888;
                        }
                    }
                }

                .right {
                    display: inline-flex;
                    flex-direction: column;
                    align-items: center;

                    .navigation-icon {
                        width: 34rpx;
                        height: 34rpx;
                        margin-bottom: 12rpx;
                    }

                    .navigation-text {
                        color: #888;
                        font-size: 18rpx;
                    }
                }
            }

            .share {
                display: flex;
                align-items: center;
                margin-top: 18rpx;
                margin-bottom: 18rpx;
                position: relative;

                .share-btn {
                    position: absolute;
                    height: 70rpx;
                    font-size: 26rpx;
                    opacity: 0;
                }

                .share-icon {
                    width: 33rpx;
                    height: 25rpx;
                    margin-right: 10rpx;
                }

                .s1 {
                    font-size: 26rpx;
                    color: #000;
                    margin-right: 10rpx;
                }

                .s2 {
                    font-size: 18rpx;
                    color: #888;
                }
            }
        }
    }

    .exhibitor {
        position: relative;
        display: flex;
        align-items: center;
        width: 705rpx;
        min-height: 230rpx;
        margin: 0 auto;
        border-radius: 60rpx;
        overflow: hidden;

        .exhibitor-bg {
            position: absolute;
            left: 0;
            top: 0;
            width: 706rpx;
            height: 1000rpx;
            width: 100%;
            height: 100%;
        }

        .exhibitor-title {
            float: left;
            width: 68rpx;
            color: #000;
            font-size: 34rpx;
            position: relative;
            padding-right: 32rpx;
            padding-left: 20rpx;
        }

        .num {
            float: left;
            position: relative;
            color: #888;
            font-size: 26rpx;
        }

        .shadow {
            position: absolute;
            left: -110rpx;
            top: -40rpx;
            width: 110rpx;
            height: 124rpx;
            background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
        }

        .scroll-view-space {
            float: left;
            margin-top: 43rpx;
            width: 480rpx;
        }

        .scroll-view_H {
            white-space: nowrap;

            .scroll-view-item_H {
                width: 106rpx;
                display: inline-block;
                margin-right: 32rpx;

                .avatar {
                    width: 106rpx;
                    height: 106rpx;
                    border-radius: 30rpx;
                }

                .name {
                    font-size: 26rpx;
                    color: #000;
                    text-align: center;
                }
            }
        }

    }

    .scroll-view-space2 {
        width: 580rpx !important;

        .scroll-view_H {
            white-space: unset;
            position: relative;
            z-index: 5;
        }
    }


    .tabs-wrapper {
        width: 705rpx;
        background-color: #fff;
        margin: 0 auto;
        border-radius: 60rpx;
        margin-top: 20rpx;

        .tab-bar {
            display: flex;
            justify-content: space-around;
            align-items: center;
            height: 80rpx;

            .tab-item {
                text-align: center;
                font-size: 28rpx;
                color: #000;
                display: inline-block;
                padding: 5rpx 5rpx;
                border-radius: 30rpx;
                width: 95rpx;

                &.active {
                    color: #f272d5;
                    background-color: #2B2B2B;
                }
            }
        }

        .tab-content {
            .tab-pane {
                display: none;

                &.active {
                    display: block;
                    position: relative;

                    .recommend-bg {
                        position: absolute;
                        display: block;
                        width: 705rpx;
                        height: 836rpx;
                        left: 0;
                        bottom: 0;
                    }

                }
            }

            .content {
                position: relative;
                z-index: 5;
                min-height: 760rpx;
                padding: 20rpx;
                word-break: break-all;
            }

            .instruction {
                width: 150rpx;
                height: 40rpx;
                background-color: #f272d4;
                color: #fff;
                font-size: 24rpx;
                text-align: center;
                line-height: 40rpx;
                border-radius: 30rpx;
                margin-left: 20rpx;
                position: relative;
                z-index: 5;
            }

            .recommend-list {
                width: 705rpx;
                height: 836rpx;
                margin: 0 auto;
                margin-top: 20rpx;
                position: relative;
                z-index: 5;

                .recommend-item {
                    float: left;
                    margin-right: 10rpx;
                    margin-bottom: 30rpx;
                    text-align: center;
                    width: calc((100% - 20rpx) / 3);

                    &:nth-of-type(3n) {
                        margin-right: 0;
                    }

                    .recommend-image {
                        width: 190rpx;
                        height: 267rpx;
                        border-radius: 30rpx;
                        box-shadow: 5rpx 10rpx 10rpx 0 rgba(0, 0, 0, 0.2);
                    }

                    .recommend-name {
                        width: 190rpx;
                        margin: 0 auto;
                        font-size: 26rpx;
                        color: #000;
                        margin-top: 10rpx;
                        height: 70rpx;
                        word-wrap: break-word;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        -webkit-line-clamp: 2;
                        max-height: 70rpx;
                        text-overflow: ellipsis;
                    }
                }
            }
        }

        .tab-recommend {
            width: 100%;
            overflow: hidden;
            box-sizing: border-box;
            padding: 20rpx;
            padding-bottom: 30rpx;
            .item {
                width: 207rpx;
                float: left;
                margin-right: calc((100% - 207rpx * 3) / 2);
                &:last-child{
                    margin-right: 0rpx;
                }
                .pic {
                    width: 207rpx;
                    height: 291rpx;
                    border-radius: 15px;
                    overflow: hidden;
    
                    margin-top: 12px;
                    box-shadow: 2px 5px 5px 0 rgba(0,0,0,0.2);
                }

                .name{
                    text-align: center;
                    width: 100%;
                    font-size: 28rpx;
                    color: #000;
                    height: 60rpx;
                    line-height: 60rpx;

                }
            }
        }
    }

    .page-bg {
        width: 695rpx;
        height: 577rpx;
        display: block;
        margin: 0 auto;
    }
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 156rpx;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    box-shadow: 0 0 10rpx 5rpx rgba(0, 0, 0, 0.1);
    background-color: #eeeeee;
    z-index: 5;

    .customer {
        margin-left: 40rpx;
        display: flex;
        flex-direction: column;
        align-items: center;

        .customer-icon {
            width: 58rpx;
            height: 58rpx;
        }

        .customer-text {
            color: #888;
            font-size: 24rpx;
        }
    }

    .buy-icon {
        width: 559rpx;
        height: 86rpx;
        margin-right: 35rpx;
    }
}

.popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: 0.3s ease;

    &.show {
        opacity: 1;
        pointer-events: unset;
        visibility: visible;
    }
}

.popup-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.3s ease-out;
    z-index: 999;
    overflow: hidden;

    &.show {
        height: 100%;
    }

    .popup {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding-top: 50rpx;
        box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
        border-radius: 30rpx;
        max-height: 80%;
        overflow-y: scroll;

        .close-icon {
            position: absolute;
            top: 20rpx;
            right: 20rpx;
            color: #999;
        }

        .section {
            margin-bottom: 20rpx;
            padding: 40rpx 40rpx 0;

            text {
                font-size: 30rpx;
                color: #000;
                margin-bottom: 38rpx;
                display: block;
            }

            .button-group {
                overflow: hidden;

                .date-button {
                    float: left;
                    margin-right: 35rpx;

                    &:nth-of-type(3n) {
                        margin-right: 0;
                    }
                }
            }

            .prices-group {
                display: flex;
                flex-wrap: wrap;
                justify-content: flex-start;

                .price-button {
                    width: 391rpx;
                }
            }

            .date-button,
            .price-button {
                min-width: 190rpx;
                height: 70rpx;
                font-size: 32rpx;
                padding: 0 15rpx;
                color: #000;
                border-radius: 10rpx;
                border: none;
                background-color: #ccc;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 28rpx;
            }

            .date-button.selected,
            .price-button.selected {
                color: #fb6de7;
                background-color: #f9e9f9;
            }

            .date-button:active,
            .price-button:active {
                color: #fb6de7;
                background-color: #f9e9f9;
            }
        }

        .quantity-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .num {
                line-height: 60rpx;
                font-size: 30rpx;
            }

            .quantity {
                display: flex;
                align-items: center;
                justify-content: center;

                .quantity-btn {
                    width: 60rpx;
                    height: 60rpx;
                    font-size: 32rpx;
                    text-align: center;
                    border-radius: 50%;
                    /* 圆形按钮 */
                    color: #fb6de7;
                    border: 2rpx solid #fb6de7;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                .disabled {
                    background-color: #cccccc;
                    color: #666666;
                    border-color: transparent;
                    border: 2rpx solid #cccccc;
                }

                .text {
                    font-size: 28rpx;
                    line-height: 60rpx;
                    margin: 0 20rpx;
                }
            }
        }

        .inner-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20rpx;
            padding: 20rpx 0 50rpx 40rpx;
            border-top: 2rpx solid #ccc;

            .total {
                overflow: hidden;
                color: #000;

                .total-detail {
                    display: inline-flex;
                    justify-content: center;
                    align-items: center;
                }

                text {
                    font-size: 28rpx;
                    color: #333;
                }

                .line {
                    border-left: 1rpx solid #999;
                    width: 1rpx;
                    height: 30rpx;
                    margin: 20rpx;
                }

                .price {
                    font-size: 46rpx;
                    color: #fb6de7;
                }
            }

            .confirm-btn {
                float: right;
                margin-right: 40rpx;
                width: 352rpx;
                height: 64rpx;
                line-height: 64rpx;
                font-size: 34rpx;
                color: #fff;
                background-color: #fb6de7;
                border-radius: 32rpx;
                text-align: center;
            }
        }
    }
}

.service-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    transition: 0.3s ease;
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;

    &.show {
        opacity: 1;
        pointer-events: unset;
        visibility: visible;
    }

    .popup {
        position: absolute;
        width: 706rpx;
        background-color: #fff;
        border-radius: 20rpx;
        top: 0;
        left: 0;
        left: 22rpx;
        top: 50%;
        transform: translateY(-50%);
        padding: 35rpx;
        box-sizing: border-box;

        .t1 {
            width: 100%;
            font-size: 30rpx;
            color: #000;
            margin-bottom: 10rpx;
        }

        .t2 {
            font-size: 24rpx;
            color: #888888;
            margin-bottom: 30rpx;
        }

        .close {
            position: absolute;
            width: 93rpx;
            height: 93rpx;
            bottom: -150rpx;
            left: calc((100% - 93rpx) / 2);

            image {
                width: 93rpx;
                height: 93rpx;
            }
        }
    }
}